package com.winit.openapi.interceptor.validator;

import javax.servlet.http.HttpServletRequest;

import com.winit.openapi.exception.ApiException;

public abstract class FxAPIRequestValidator<T extends HttpServletRequest> extends AbstractAPIRequestHandler<T> {

    /**
     * 校验用户
     * 
     * @param request
     * @throws ApiException
     */
    public abstract void checkFxUser(T request) throws ApiException;

    /**
     * 校验分销商签名
     * 
     * @param request
     * @throws ApiException
     */
    public abstract void checkFxSign(T request) throws ApiException;

}
